/*
package com.hs.egova.dao;

import com.hs.egova.mapping.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

*/
/**
 * @author husheng
 * @version v1.0
 * @date 2021/7/21 13:31
 * @email husheng@egova.com.cn
 *//*

public interface JpaUserRepository extends JpaRepository<User, Long> {
    */
/**
     * 通过id查找人
     * @param id
     * @return
     *//*

    User findUserById(Long id);

    */
/**
     * 通过姓名查找用户
     * @param userName
     * @return
     *//*

    User findUserByUserName(String userName);

    */
/**
     * 自定义模糊查找
     * @param userName
     * @return
     *//*

    @Query("from user where userName like concat('%', ?1, '%') ")
    List<User> findUsers(String userName);
}
*/
